package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.dto.SalesOrderItemsDTO;
import com.kelaite.procurement.entity.TSalesOrderItems;
import com.kelaite.procurement.entity.TUser;
import com.kelaite.procurement.entity.TVendor;

public interface SalesOrderItemsService {
	public TSalesOrderItems save(TSalesOrderItems persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(TSalesOrderItems persistence);

	public TSalesOrderItems getObject(Long id);
	
	public List<TSalesOrderItems> getAll();

	public List<TSalesOrderItems> getByProperty(String property, Object value);
	
	public int updateSalesOrderItems(List<SalesOrderItemsDTO> salesOrderItemsList,TUser currentUser,List<TVendor> vendorList);
}
